/*
	Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved.
	Available via Academic Free License >= 2.1 OR the modified BSD license.
	see: http://dojotoolkit.org/license for details
*/


if(!dojo._hasResource["dojox.drawing.manager._registry"]){dojo._hasResource["dojox.drawing.manager._registry"]=true;dojo.provide("dojox.drawing.manager._registry");(function(){var _1={tool:{},stencil:{},drawing:{},plugin:{},button:{}};dojox.drawing.register=function(_2,_3){if(_3=="drawing"){_1.drawing[_2.id]=_2;}else{if(_3=="tool"){_1.tool[_2.name]=_2;}else{if(_3=="stencil"){_1.stencil[_2.name]=_2;}else{if(_3=="plugin"){_1.plugin[_2.name]=_2;}else{if(_3=="button"){_1.button[_2.toolType]=_2;}}}}}};dojox.drawing.getRegistered=function(_4,id){return id?_1[_4][id]:_1[_4];};})();}